#require('./sass/common.scss')
page = require('page')


indexHandler = (ctx, next)->
    require.ensure [], ->
        require('./module/demo1.coffee').show(ctx, next)

page '/', indexHandler


page "/demo1", indexHandler

page "/demo2", (ctx, next)->
    require.ensure [], ->
            require('./module/demo2.coffee').show(ctx, next)


page.start(hashbang:true)
